<div class='container'>
  <div id='register_board'>
    <div class='header'>
      <span class='app'><?php echo Config::get('app.name', 'App')?></span><span class='prompt'>注册信息</span>
      <?php if (isset($user) AND $user):?>
      <a class='register pull-right' href='/sign/in'>登录 →</a>
      <?php else:?>
      <a class='register pull-right' href='/register'>注册 →</a>
      <?php endif;?>
    </div>
    <div class='body'>
    <?php if (isset($user) AND $user):?>
      <div class='msg'>
        <p class='text-success'>注册成功</p> 
        <p class='text-success'>您注册的邮箱是<?php echo $user->email;?></p> 
      </div>
    <?php else:?>
      <div class='msg'>
        <p class='text-success'>注册失败</p> 
      </div>
    <?php endif;?>
    </div>
  </div>
</div>
